/*
 * Error.cpp
 *
 *  Created on: Sep 9, 2013
 *      Author: alexandru
 */

#include "Error.h"

namespace stn {

std::string Error::SINTAX_ERROR="syntax_error";
std::string Error::RANGE_ERROR="WARNING: range_error";
std::string Error::COMMAND_FAILED="command_failed";

Error::Error(std::string gravity, std::string message, int statusCode) {
	using namespace std;
	cout << gravity << " message: " << message << " statusCode:"  <<  statusCode << endl;
	gravitate=gravity;
	mesaj=message;
	cod=statusCode;
}

Error::~Error() {}

} /* namespace stn */
